package com.snow.datasource.strategy.enums;

/**
 * @Description
 * @Author fanxl
 * @Date 2020/12/24
 **/
public enum HandleStrategy {
    LOAD_BALANCE("load_balance","均衡策略"),
    RANDOM("random","随机策略"),
    SNOW_FLAKE("snow_flake","雪花策略");
    private String type;
    private String info;

    HandleStrategy(String type, String info) {
        this.type = type;
        this.info = info;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
